package com.woniuxy.happylife.service.impl;

import com.woniuxy.happylife.dao.CategoryDao;
import com.woniuxy.happylife.entity.MallCategory;
import com.woniuxy.happylife.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author:roger
 * @Date:2022/2/19 10:08:20
 * @Description:
 */
@Service
public class CategoryServiceImpl implements CategoryService {
    @Autowired
    CategoryDao categoryDao;
    @Override
    public List<MallCategory> getAll() {
        return categoryDao.getAll();
    }
}
